package org.br.erp.base.creditrecord.vo;

import java.util.List;

import org.br.erp.base.creditrecord.entity.Scmcreditrecorditem;
import org.br.erp.base.creditrecord.entity.Scmcreditrecordattach;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecgframework.poi.excel.annotation.ExcelCollection;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @Description: 信用档案
 * @Author: jeecg-boot
 * @Date:   2024-03-26
 * @Version: V1.0
 */
@Data
@ApiModel(value="scmcreditrecordPage对象", description="信用档案")
public class ScmcreditrecordPage {

	/**主键*/
	@ApiModelProperty(value = "主键")
    private String id;
	/**创建人*/
	@ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
	@ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**所属部门*/
	@ApiModelProperty(value = "所属部门")
    private String sysOrgCode;
	/**授信公司*/
	@Excel(name = "授信公司", width = 15)
	@ApiModelProperty(value = "授信公司")
    private String companyid;
	/**对象类型*/
	@Excel(name = "对象类型", width = 15)
	@ApiModelProperty(value = "对象类型")
    private String credittype;
	/**日期*/
	@Excel(name = "日期", width = 15)
	@ApiModelProperty(value = "日期")
    private String billdate;
	/**档案编号*/
	@Excel(name = "档案编号", width = 15)
	@ApiModelProperty(value = "档案编号")
    private String billcode;
	/**备注*/
	@Excel(name = "备注", width = 15)
	@ApiModelProperty(value = "备注")
    private String remarks;
	/**有效期从*/
	@Excel(name = "有效期从", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
	@ApiModelProperty(value = "有效期从")
    private Date fromdate;
	/**有效期止*/
	@Excel(name = "有效期止", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
	@ApiModelProperty(value = "有效期止")
    private Date enddate;

	@ExcelCollection(name="信用档案分录")
	@ApiModelProperty(value = "信用档案分录")
	private List<Scmcreditrecorditem> scmcreditrecorditemList;
	@ExcelCollection(name="附件")
	@ApiModelProperty(value = "附件")
	private List<Scmcreditrecordattach> scmcreditrecordattachList;

}
